﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using ThuatToanDAO;
using ThuatToan;


public partial class MasterPage : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        ItemDAO item = new ItemDAO();
        DataSet ds = item.ExecuteSelectToTalItem();
        lbSothuattoan.Text = ds.Tables[0].Rows[0]["Total"].ToString();
        lbOnline.Text = Application["Online"].ToString();
        lbTruycap.Text = Application["Total"].ToString();
    }
}
